<?php
class News {
	private $id;
	private $typenew;
	private $title;
	private $tomtat;
	private $content;
	private $datecreate;

	public function __construct(){
		$this -> id = '';
		$this -> typenew = '';
		$this -> title = '';
		$this -> tomtat = '';
		$this -> content = '';
		$this -> datecreate = '';
	}
	
	public function getID(){
		return $this -> id;
	}
	
	public function setID($id) {
		$this -> id = $id;
	}
	
	public function getType(){
		return $this -> typenew;
	}
	
	public function setType($typenew) {
		$this -> typenew = $typenew;
	}
	
	public function getTitle(){
		return $this -> title;
	}
	
	public function setTitle($title) {
		$this -> title = $title;
	}
	
	public function getTomTat(){
		return $this -> tomtat;
	}
	
	public function setTomTat($tomtat) {
		$this -> tomtat = $tomtat;
	}
	
	public function getContent(){
		return $this -> content;
	}
	
	public function setContent($content) {
		$this -> content = $content;
	}
	
	public function getDatecreate(){
		return $this -> datecreate;
	}
	
	public function setDatecreate($datecreate) {
		$this -> datecreate = $datecreate;
	}
	
}
?>